<template>
  <div>
    bar other
    <button @click="handleClick" type="button">click</button>
  </div>
</template>
<script>
  import reqwestFetch from '../server.js';
  export default {
    data () {
      return {

      }
    },
    methods: {
      handleClick() {
        reqwestFetch('/admin/ticket/route',{a:1},this.success);
      },
      success() {
        console.log('success');
      }
    },
  }
</script>
